<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="pForumList">
  <div class="round_me" style="background:#EEEEEE; padding:5px;">
    <h4>
      <nobr>Tutti i forum pubblici</nobr>
    </h4>
    <hr/>
		<table class="body" border="0" cellspacing="1" cellpadding="3" width="100%">
			<xsl:for-each select="row">
			<tr >
			<td class="body_10px" align="left" style="border-bottom:1px solid silver;padding-bottom:5px;">
			<a href="/forumShow.aspx?jumpToForum={@forumid}&amp;forumStep=20" class="body_10px_red"><xsl:value-of select="@title"/></a>
			</td>
        <td class="body_10px" align="left" style="border-bottom:1px solid silver;">
          <a href="/profileShow.aspx?userGuid={@ownerid}" style="color:blue;" class="body_10px_red"><xsl:value-of select="@ownerNick"/></a>
			</td>
        <td class="body_10px" align="left" style="border-bottom:1px solid silver;">
          <a href="?allforums=1&amp;forumid={@forumid}&amp;hide=0" class="body_10px_red">Nascondi!</a>
			</td>
			</tr>
			</xsl:for-each>
			<xsl:choose>
				<xsl:when test="/pForumList/@leftRows&gt;0">
					<tr ><td colspan="8" class="body" align="right">
					<b><a href="/allForums.aspx">...segue</a></b>
					</td>
					</tr>
				</xsl:when>
				<xsl:otherwise>
				</xsl:otherwise>
			</xsl:choose>
		</table>
  </div>
</xsl:template>

</xsl:stylesheet>